package com.hk;

public class MagicSquareMain {
	public static void main(String[] args) {
		IMagic i_magic;
		
		while (true) {
			try {
				MagicSquareFactory fac = MagicSquareFactory.get();
				i_magic = fac.magicFactory();
				MagicUtil.magicProcess(i_magic);
//				break; 
			} catch (NoMakeMagicSquareExceotion e) {
				e.printStackTrace();
			}
		}
	}
}
